
package com.kugou.game.sdk.ui.dialog;

import android.content.Context;
import android.view.Window;

/**
 * 消息对话框
 * 
 * @author chenys
 */
public class MessageDialog extends BaseCommonDialog {

    private Context mContext;

    public MessageDialog(Context context) {
        this(context, 0);
    }

    public MessageDialog(Context context, int theme) {
        super(context, theme);
        this.mContext = context;
        requestWindowFeature(Window.FEATURE_NO_TITLE);

    }

    @Override
    public void onContentChanged() {
        super.onContentChanged();
        setActivateAccountText("我知道了");
        setHidemChangerAccount(true);
        setHidemCanle(true);
        setHidemTxtTwo(true);
        setHidemScrollView(false);
    }

    public void setMessage(String msg) {

        setmTxtFourText(msg);
    }

    public void setLayoutParams(int width, int height) {
        setScrollViewParams(width, height);
    }
}
